﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="NotificationsList" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/SPNotifications-NotificationsList" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    
    <Fields>

      <Field ID="{BB459EBC-6512-4FD6-9C4B-5CAC9FAAAC04}"
             Name="NotificationDesc"
             Type="Text"
             DisplayName="Description"
             ShowInNewForm="TRUE"
             ShowInDisplayForm="TRUE"
             ShowInEditForm="TRUE"
             Required="FALSE"
             >
      </Field>

      <Field ID="{BCE2A674-8AC8-4FB2-9526-05EA6F76C326}" 
             Name="TargetedTo" 
             Type="User" 
             DisplayName="Targeted To" 
             List="UserInfo" 
             Required="TRUE" 
             ShowField="ImnName" 
             ShowInNewForm="TRUE"
             ShowInDisplayForm="TRUE"
             ShowInEditForm="TRUE"
             UserSelectionMode="PeopleAndGroups" >
      </Field>

      <Field ID="{39FEC9D7-F3B3-46AD-AA26-AF67F20D6B21}"
             Name="ReadStatus"
             Type="Choice"
             Format="Dropdown"
             ShowInNewForm="TRUE"
             ShowInDisplayForm="TRUE"
             ShowInEditForm="TRUE"
             DisplayName="Read Status" >
        <CHOICES>
          <CHOICE>Unread</CHOICE>
          <CHOICE>Read</CHOICE>
        </CHOICES>
        <Default>Unread</Default>
      </Field>

      
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="NotificationDesc"></FieldRef>
          <FieldRef Name="TargetedTo"></FieldRef>
          <FieldRef Name="ReadStatus"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments"></FieldRef>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="NotificationDesc"></FieldRef>
          <FieldRef Name="TargetedTo"></FieldRef>
          <FieldRef Name="ReadStatus"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>